#ifndef _NT_DEFINE_H_
#define _NT_DEFINE_H_

enum NTgamesZOrder
{
	NTGamesZOrderNone = -1,
	Z_ORDER_ZERO,
	Z_ORDER_ONE,
	Z_ORDER_TWO,
	Z_ORDER_THREE,
	Z_ORDER_FOUR,
	Z_ORDER_FIVE,
	Z_ORDER_HIGHEST,
};

enum NTgamesTag
{
	NTGamesTagNone = 0,
	/* MM_ prefix main menu layer */
	TAG_MM_LAYER_MAINMENU,				// MainMenu layer
	TAG_MM_MENU,						// Main menu in MainMenu layer
	TAG_MM_MENU_USERNAME,				// Menu username in MainMenu layer
	TAG_MM_MORE_GAME,					// Moregame in Menu
	TAG_MM_STAR,						// star component
	TAG_MM_MENU_PLAY,					// menu item play
	TAG_MM_MENU_PLAY_TIMER,				// menu item play timer
	TAG_MM_MENU_PLAY_HEART,				// menu item play heart
	TAG_MM_MENU_LEADERBOARD,			// menu item leaderboard
	TAG_MM_MENU_OPTION,					// menu item option
	TAG_MM_MENU_HELP,					// menu item help
	/* HEL_ prefix option layer */
	TAG_HEL_MENU,						// Main menu in Help layer
	/* OPT_ prefix option layer */
	TAG_OPT_MENU,						// Main menu in Option layer
	TAG_OPT_MENU_BTN_LANGUAGE,			// Menu language in Option layer
	TAG_OPT_MENU_BTN_LANGUAGE_PRE,		// Menu pre language in Option layer
	TAG_OPT_MENU_BTN_LANGUAGE_NEXT,		// Menu next language in Option layer
	TAG_OPT_LABLE_LANGUAGE,				// Menu next language in Option layer
	/* IGM_ prefix option layer */
	TAG_IGM_MENU,						// Main menu in InGameMenu layer
	TAG_IGM_MENU_SOUND_AND_EFFECT,		// sound and effect menu in InGameMenu layer
	/* CRE_ prefix credit layer */
	TAG_CRE_MENU,						// Main menu in Credit layer
	/* LB_ prefix leaderboard layer */
	TAG_LB_MENU,						// Main menu in leaderboard layer
	TAG_LB_MENU_BACK,					// back menu
	TAG_LB_MENU_SWITCH,					// timer/heart menu
	/* SEL_ prefix select layer */
	TAG_SEL_MENU,						// Main menu in select layer
	TAG_SEL_OBJ_MINE,					// mine for select in select layer
	TAG_SEL_SHOW,						// show (container) for select in select layer
	TAG_SEL_SCORE_PRICE,				// score and price each obj in select layer
	TAG_SEL_OBJ_MINE_PARTICLE_ONE,		// particle one for obj mine in select layer
	TAG_SEL_OBJ_MINE_PARTICLE_TWO,		// particle two for obj mine in select layer
	TAG_SEL_MENU_BTN_BACK_START,		// menu btn start, back obj mine in select layer
	TAG_SEL_LOCK,						// lock obj mine in select layer
	TAG_SEL_PROGRESS_BAR,				// price bar in select layer
	/* CLO_ prefix close layer */
	TAG_CLO_LAYER,						// Close layer
	TAG_CLO_MENU,						// Main menu in select layer
	TAG_CLO_MENU_LIST_BUTTON,			// menu compare score in select layer
	TAG_CLO_MENU_COMPARE_SCORE,			// menu compare score in select layer
	TAG_CLO_LABLE_SCORE_VALUE,			// lable score value in select layer
	TAG_CLO_MI_LABLE_COMPARE_SCORE,		// lable score value in select layer
	/* IG_ prefix Ingame layer */
	TAG_IG_LAYER_INGAME,				// InGame layer
	TAG_IG_LABLE_SCORE,					// lable score in InGame layer
	TAG_IG_LABLE_HIGH_SCORE,			// lable high score in InGame layer
	TAG_IG_COMPONENT_CUP,				// cup high score icon in InGame layer
	TAG_IG_COMPONENT_TIMER,				// timer icon in InGame layer
	TAG_IG_LABLE_TIMER,					// TIMER in InGame layer
	TAG_IG_OBJ_MINE_PARTICLE_ONE,		// particle one for obj mine in InGame layer
	TAG_IG_OBJ_MINE_PARTICLE_TWO,		// particle two for obj mine in InGame layer
	TAG_IG_ROAD,						// road in InGame layer
	TAG_IG_BACKGROUND,						// bachground in InGame layer
	TAG_IG_OTHER_OBJ,					// Other obj
	TAG_IG_MINE_OBJ,					// mine obj
	TAG_IG_COUNT_NUMBER,				// count numbers
	TAG_IG_COUNT_NUM,					// count down numbers tag 3->2->1
	TAG_IG_GREY_COVER_BG,				// cover bg show when it count down to start game
	TAG_IG_KINDFUL_OBJ,					// obj good in game
	TAG_IG_JUMP,						// jump button in ingame
	TAG_IG_COMBO_NUMBER,				// number combo before X letter
	TAG_IG_LAYER_BINGO,					// layer bingo for game 2048
	TAG_IG_CAN_NOT_CONTINUE,			// jewel: can not continue particle
	
	/* GL_ prefix game layer */
	TAG_GL_LAYER_GAME,					// Game layer
	TAG_GL_MENU,						// main menu Game layer
	TAG_GL_COM_PAUSE,						// component pasuse
	/* LOAD_ prefix game layer */
	TAG_LOAD_LAYER_LOADING,				// loading layer
	/* IGM_ prefix game layer */
	TAG_IGM_LAYER_INGAMEMENU,			// ingamemenu layer
	/* OTHER_ prefix other layer */
	TAG_OTHER_ROOT_ADS,					// root ADS tag
	TAG_OTHER_ADS,						// ADS tag
	TAG_LABLE_BACK,
	/* ACT_ prefix for Action */
	TAG_ACT_MINE_OBJ_FADEOUT_REPEAT,
	TAG_ACT_MENU_ITEM_PICE,				// menu item pice in ocean
	TAG_ACT_MENU_ITEM_PICE_LEFT,		// menu item pice in land - left
	TAG_ACT_MENU_ITEM_PICE_RIGHT,		// menu item pice in land - right
	/* Fruit seri*/
	 TAG_IG_BOARD_LAYER,
	 TAG_SEEK_BAR,

	 TAG_LEADERBOARD_LAYER,
	 TAG_LEADERBOARD_TABLE_VIEW,

	 TAG_MORE_PICS,						//more pics

	 /* NTO_ prefix for NTObj child */
	 TAG_NTO_COVER_OBJ,					// ninja seri for tag for cover obj -> it wil add to NTObj
	 /* Max TAG */
	 TAG_END,
};

#define IMG_PLIST_COMMON_UI_REFIX		"commonUI"
#define IMG_PLIST_INGAME_UI_REFIX		"inGameUI"
#define XML_BOUNDARY_FILE_NAME			"boundary.xml"

// define key for extent change, compare, use the same resource
#define KEY_SAME_SIDERIGHTOBJ			"siderightobj"

// define name text save
#define KEY_SAVE_SCORE					"score"
#define KEY_SAVE_NITROCOLOR				"nitrocolor"
#define KEY_SAVE_MINEOBJ				"mineobj"
#define KEY_SAVE_MOTOR_MAX_SPEED		"vehicletractionscale"
#define KEY_SAVE_VEHICLE_TRACTION_SCALE "vehicletractionscale"
#define KEY_SAVE_WHEEL_FRICTION			"wheelfriction"
#define KEY_SAVE_WHEEL_RESTITUTION		"wheelrestitution"
#define KEY_SAVE_AXLE_SCALE				"axlescale"
#define KEY_SAVE_SER_DISTANCE			"distance%d"
#define KEY_SAVE_WORLDOBJ				"backgroundview"
#define KEY_SAVE_METRO_COUNT			"metrocount"
#define KEY_SAVE_CURRENTLANGUAGE		"currentLanguage"
#define KEY_SAVE_TEMPSCORE				"temp_score"
#define KEY_SAVE_TEMPSTAR_1				"temp_star1"
#define KEY_SAVE_TEMPSTAR_2				"temp_star2"
#define KEY_SAVE_TEMPSTAR_3				"temp_star3"
#define KEY_SAVE_TEMPLEVEL				"temp_level"
#define KEY_SAVE_USERNAME				"username"

#define KEY_SAVE_MOREGAMEIMAGENAME		"moregame_imageName"
#define KEY_SAVE_MOREGAMETEXT			"moregame_text"
#define KEY_SAVE_MOREGAMELINK			"moregame_link"
#define KEY_SAVE_MOREGAMELANGUAGECODE	"moreGame_languageCodeOld"

// define name parse get request from server
#define KEY_SERVER_ROOT					"root"
#define KEY_SERVER_MYRANK				"myrank"
#define KEY_SERVER_RESULT				"result"
#define KEY_SERVER_ID					"id"
#define KEY_SERVER_SCORE				"score"
#define KEY_SERVER_RANK					"rank"
#define KEY_SERVER_STAR					"star"
#define KEY_SERVER_LEVEL				"level"
#define KEY_SERVER_USERNAME				"username"
#define KEY_SERVER_MOZILLA				"Mozilla/4.0"

// define key read data custom boudary
#define KEY_BOUNDARY_IMG_NAME			"name"
#define KEY_BOUNDARY_LIST_POS			"listpos"
#define KEY_BOUNDARY_LIST_COM			"listcomponent"
#define KEY_BOUNDARY_LIST_CREATE		"listcreate"
#define KEY_BOUNDARY_MAP_DATA			"mapdata"
#define KEY_BOUNDARY_ARR_ITEM			"item"
#define KEY_BOUNDARY_ARR_MAP			"arrmap"
#define KEY_BOUNDARY_ARR_CREATE_METRO	"arrcreatemetro"
#define KEY_BOUNDARY_ARR_CREATE_COIN	"arrcreatecoin"
#define KEY_BOUNDARY_ARR_CREATE_SHAPE	"arrcreateshape"
#define KEY_BOUNDARY_ARR_COIN_VALUE		"arrcoinvalue"
#define KEY_BOUNDARY_ARR_SHAPE_DATA		"arrshapedata"
#define KEY_BOUNDARY_MAP_TYPE			"mt"
#define KEY_BOUNDARY_SHAPE_TYPE			"type"
#define KEY_BOUNDARY_SHAPE_WIDTH		"width"
#define KEY_BOUNDARY_SHAPE_HEIGHT		"height"
#define KEY_BOUNDARY_SHAPE_DENSITY		"densityscale"
#define KEY_BOUNDARY_SHAPE_FRICTION		"frictionscale"
#define KEY_BOUNDARY_SHAPE_RESTITUTION	"restitutionscale"

#define KEY_BOUNDARY_RATIO				"ratio"
#define KEY_BOUNDARY_GOODGUYS			"goodguys"
#define KEY_BOUNDARY_BADGUYS			"badguys"
#define KEY_BOUNDARY_FREEGUYS			"freeguys"

#define KEY_BOUNDARY_TOP_LEFT			"topleft"
#define KEY_BOUNDARY_TOP_RIGHT			"topright"
#define KEY_BOUNDARY_MID_LEFT			"midleft"
#define KEY_BOUNDARY_MID_RIGHT			"midright"
#define KEY_BOUNDARY_BOT_LEFT			"botleft"
#define KEY_BOUNDARY_BOT_RIGHT			"botright"
#define KEY_BOUNDARY_REAR_WHEEL			"rearwheel"
#define KEY_BOUNDARY_FRONT_WHEEL		"frontwheel"
#define KEY_BOUNDARY_VEHICLE_BODY		"vehiclebody"
#define KEY_BOUNDARY_PLAYER_HEAD		"playerhead"
#define KEY_BOUNDARY_PLAYER_BODY		"playerbody"
#define KEY_BOUNDARY_PLAYER_FRONT_ARM	"playerfrontarm"
#define KEY_BOUNDARY_PLAYER_FRONT_HAND	"playerfronthand"
#define KEY_BOUNDARY_PLAYER_FRONT_THIGH	"playerfrontthigh"
#define KEY_BOUNDARY_PLAYER_FRONT_LEG	"playerfrontleg"
#define KEY_BOUNDARY_PLAYER_BEHIND_ARM	"playerbehindarm"
#define KEY_BOUNDARY_PLAYER_BEHIND_HAND	"playerbehindhand"
#define KEY_BOUNDARY_PLAYER_BEHIND_THIGH "playerbehindthigh"
#define KEY_BOUNDARY_PLAYER_BEHIND_LEG	"playerbehindleg"
#define KEY_BOUNDARY_POS				"position"
#define KEY_BOUNDARY_POS_X				"x"
#define KEY_BOUNDARY_POS_Y				"y"
#define KEY_BOUNDARY_RADIUS				"r"
#define KEY_BOUNDARY_VISIBLE			"visible"
#define KEY_BOUNDARY_CENTER				"center"
#define KEY_BOUNDARY_ANCHOR				"anchor"
#define KEY_BOUNDARY_CONTACT			"contact"
#define KEY_BOUNDARY_ANCHOR_BODY_A		"anchorbodya"
#define KEY_BOUNDARY_ANCHOR_BODY_B		"anchorbodyb"

// define link server function
#define KEY_LINK_GETMOREGAME			"getmoregameandpromo/"
#define KEY_LINK_GETADSCODES			"getadcodes_xml/"
#define KEY_LINK_SAVEDATA				"savedata/"
#define KEY_LINK_LEADERBOARD			"leaderboard/"
#define KEY_LINK_CHECKCONECTION			"checkconnection/"
#define KEY_LINK_GETSERVERIP			"getserverip/"
#define KEY_LINK_GETVERSION				"getversion/"

// define sound 
#define KEY_VOL_BACKGROUND				"BackgroundSound"
#define KEY_VOL_FXSOUND					"FXSound"

// jewel
#define KEY_SELECT_LEVEL				"selectLevel"

/////////////////////////// DESIGN ///////////////////////////////

// ---- Blade default image
#define IMG_BLADE_STREAK				"bladeStreakDefault.png"

// ---- Intro

#define IMG_COM_INTRO_LOGO				"com_Intro_Logo.png"
#define IMG_COM_INTRO_WAITING			"com_Intro_Waiting.png"

// ---- Mainmenu

#define IMG_BG_MAINMENU					"bgMainmenu.png"

#define IMG_COM_MM_TOP 					"com_MM_Top.png"

#define IMG_COM_MM_BOTTOM				"com_MM_Bottom.png"

#define	IMG_COM_MM_USERNAME_IMAGE		"com_MM_UsernameImage.png"	

#define IMG_BTN_MM_PLAY					"btn_MM_Play.png"
#define IMG_BTN_MM_PLAY_SELECT			"btn_MM_PlaySelect.png"

#define IMG_BTN_MM_LEADERBOARD			"btn_MM_Leaderboard.png"
#define IMG_BTN_MM_LEADERBOARD_SELECT	"btn_MM_LeaderboardSelect.png"

#define IMG_BTN_MM_OPTION				"btn_MM_Option.png"
#define IMG_BTN_MM_OPTION_SELECT		"btn_MM_OptionSelect.png"

#define IMG_BTN_MM_HELP					"btn_MM_Help.png"
#define IMG_BTN_MM_HELP_SELECT			"btn_MM_HelpSelect.png"

#define IMG_BTN_MM_RATING_DEFAULT			"btn_MM_RatingDefault.png"
#define IMG_BTN_MM_RATING_DEFAULT_SELECT	"btn_MM_RatingDefaultSelect.png"

// ---- Help

#define IMG_BG_HELP						"bgHelp.png"

#define IMG_COM_HELP_TOP 				"com_Help_Top.png"

#define IMG_BTN_HELP_BACK				"btn_Help_Back.png"
#define IMG_BTN_HELP_BACK_SELECT		"btn_Help_BackSelect.png"

//#define IMG_COM_HELP_DEMO_1				"com_Help_Demo1.png"
//#define IMG_COM_HELP_DEMO_2				"com_Help_Demo2.png"

// ---- Leaderboard

#define IMG_BG_LEADERBOARD				"bgLeaderboard.png"

#define IMG_COM_LB_TOP 					"com_LB_Top.png"

#define IMG_BTN_LB_BACK					"btn_LB_Back.png"
#define IMG_BTN_LB_BACK_SELECT			"btn_LB_BackSelect.png"

#define IMG_SW_LB_HEART					"sw_LB_Heart.png"
#define IMG_SW_LB_TIMER					"sw_LB_Timer.png"
#define IMG_SW_LB_MASK					"sw_LB_Mask.png"
#define IMG_SW_LB_THUMB					"sw_LB_Thumb.png"

// ---- Option

#define IMG_BG_OPTION					"bgOption.png"

#define IMG_COM_OP_TOP 					"com_Op_Top.png"

#define IMG_BTN_OP_MUSIC				"btn_Op_Music.png"
#define IMG_BTN_OP_MUSIC_SELECT			"btn_Op_MusicSelect.png"
#define IMG_BTN_OP_MUSICOFF				"btn_Op_MusicOff.png"
#define IMG_BTN_OP_MUSICOFF_SELECT		"btn_Op_MusicOffSelect.png"

#define IMG_BTN_OP_EFFECT				"btn_Op_Effect.png"
#define IMG_BTN_OP_EFFECT_SELECT		"btn_Op_EffectSelect.png"
#define IMG_BTN_OP_EFFECTOFF			"btn_Op_EffectOff.png"
#define IMG_BTN_OP_EFFECTOFF_SELECT		"btn_Op_EffectOffSelect.png"

#define IMG_BTN_OP_LEFT					"btn_Op_Left.png"
#define IMG_BTN_OP_LEFT_SELECT			"btn_Op_LeftSelect.png"
#define IMG_BTN_OP_RIGHT				"btn_Op_Right.png"
#define IMG_BTN_OP_RIGHT_SELECT			"btn_Op_RightSelect.png"

#define IMG_BTN_OP_CREDIT				"btn_Op_Credit.png"
#define IMG_BTN_OP_CREDIT_SELECT		"btn_Op_CreditSelect.png"

#define IMG_BTN_OP_BACK					"btn_Op_Back.png"
#define IMG_BTN_OP_BACK_SELECT			"btn_Op_BackSelect.png"

// ---- Credit

#define IMG_BG_CREDIT					"bgCredit.png"

#define IMG_COM_CREDIT_TOP 				"com_Credit_Top.png"

#define IMG_BTN_CREDIT_BACK				"btn_Credit_Back.png"
#define IMG_BTN_CREDIT_BACK_SELECT		"btn_Credit_BackSelect.png"

// ---- Select

#define IMG_BG_SELECT					"bgSelect.png"

#define IMG_BTN_SELECT_CONTINUE			"btn_Select_Continue.png"
#define IMG_BTN_SELECT_CONTINUE_SELECT	"btn_Select_ContinueSelect.png"

#define IMG_BTN_SELECT_LEVEL			"btn_Select_Level.png"
#define IMG_BTN_SELECT_LEVEL_SELECT		"btn_Select_LevelSelect.png"
#define IMG_BTN_SELECT_LEVEL_LOCK		"btn_Select_LevelLock.png"

#define IMG_BTN_SELECT_BACK				"btn_Select_Back.png"
#define IMG_BTN_SELECT_BACK_SELECT		"btn_Select_BackSelect.png"

#define	IMG_COM_SELECT_STAR				"com_Select_Star.png"

// ---- Loading

#define IMG_COM_LOADING_IMAGE			"com_Loading_Image.png"

// ---- Ingame

#define	IMG_BG_INGAME					"bgIngame.png"

#define	IMG_BTN_INGAME_PAUSE			"btn_Ingame_Pause.png"
#define	IMG_BTN_INGAME_PAUSE_SELECT		"btn_Ingame_PauseSelect.png"

#define	IMG_COM_INGAME_SEEKBAR			"com_Ingame_Seekbar.png"

// ---- IGM

#define IMG_BG_INGAME_MENU				"bgIngameMenu.png"

#define IMG_BTN_IGM_RESUME				"btn_IGM_Resume.png"
#define IMG_BTN_IGM_RESUME_SELECT		"btn_IGM_ResumeSelect.png"

#define IMG_BTN_IGM_RESTART				"btn_IGM_Restart.png"
#define IMG_BTN_IGM_RESTART_SELECT		"btn_IGM_RestartSelect.png"

#define IMG_BTN_IGM_MENU				"btn_IGM_Menu.png"
#define IMG_BTN_IGM_MENU_SELECT			"btn_IGM_MenuSelect.png"

#define IMG_BTN_IGM_MUSIC				"btn_Igm_Music.png"
#define IMG_BTN_IGM_MUSIC_SELECT		"btn_Igm_MusicSelect.png"
#define IMG_BTN_IGM_MUSICOFF			"btn_Igm_MusicOff.png"
#define IMG_BTN_IGM_MUSICOFF_SELECT		"btn_Igm_MusicOffSelect.png"

#define IMG_BTN_IGM_EFFECT				"btn_Igm_Effect.png"
#define IMG_BTN_IGM_EFFECT_SELECT		"btn_Igm_EffectSelect.png"
#define IMG_BTN_IGM_EFFECTOFF			"btn_Igm_EffectOff.png"
#define IMG_BTN_IGM_EFFECTOFF_SELECT	"btn_Igm_EffectOffSelect.png"

// ---- Win
#define IMG_BG_WIN						"bgWin.png"

#define IMG_BTN_WIN_LEADERBOARD		    "btn_Win_Leaderboard.png"
#define IMG_BTN_WIN_LEADERBOARD_SELECT	"btn_Win_LeaderboardSelect.png"

#define IMG_BTN_WIN_MAINMENU			"btn_Win_Mainmenu.png"
#define IMG_BTN_WIN_MAINMENU_SELECT		"btn_Win_MainmenuSelect.png"

#define IMG_BTN_WIN_RETRY				"btn_Win_Retry.png"
#define IMG_BTN_WIN_RETRY_SELECT		"btn_Win_RetrySelect.png"

#define IMG_BTN_WIN_NEXT				"btn_Win_Next.png"
#define IMG_BTN_WIN_NEXT_SELECT			"btn_Win_NextSelect.png"

#define IMG_COM_WIN_STAR				"com_Win_Star.png"
#define IMG_COM_WIN_STAR_BACKGROUND		"com_Win_StarBackground.png"

// ---- Lose

#define IMG_BG_LOSE						"bgLose.png"

#define IMG_BTN_LOSE_MAINMENU			"btn_Lose_Mainmenu.png"
#define IMG_BTN_LOSE_MAINMENU_SELECT	"btn_Lose_MainmenuSelect.png"

#define IMG_BTN_LOSE_LEADERBOARD		"btn_Lose_Leaderboard.png"
#define IMG_BTN_LOSE_LEADERBOARD_SELECT	"btn_Lose_LeaderboardSelect.png"

#define IMG_BTN_LOSE_RETRY				"btn_Lose_Retry.png"
#define IMG_BTN_LOSE_RETRY_SELECT		"btn_Lose_RetrySelect.png"	

#endif